package com.dingreading.cloud.soms.service.impl;

import com.dingreading.cloud.soms.entity.CmorderApplyLog;
import com.dingreading.cloud.soms.entity.table.CmorderApplyLogTableDef;
import com.dingreading.cloud.soms.mapper.CmorderApplyLogMapper;
import com.dingreading.cloud.soms.service.CmorderApplyLogService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 服务层实现。
 *
 * @author Administrator
 * @since 2024-09-11
 */
@Service
public class CmorderApplyLogServiceImpl extends BaseServiceImpl<CmorderApplyLogMapper, CmorderApplyLog, CmorderApplyLogTableDef> implements CmorderApplyLogService {

    @Override
    protected CmorderApplyLogTableDef getTable() {
        return CmorderApplyLogTableDef.cmorderApplyLog;
    }

    @Override
    public List<CmorderApplyLog> listByApplyCodeIn(List<String> applyCodeList) {
        return getMapper().selectListByCondition(table.applyCode.in(applyCodeList));
    }
}
